package com.techstar.ats.type;

public enum AlarmType implements Enumerated {
	_R0(null),
	OP("操作命令相关报警"),
	SIGNAL("信号相关报警"),
	ROUTE("进路相关报警"),
	TRAIN("列车相关报警"),
	SYSTEM("系统事件");

	private final String literal;

	AlarmType(String literal) {
		this.literal = literal;
	}

	public String literal() {
		return this.literal;
	}

	public static AlarmType valueOf(int value) {
		return Enumerated.valueOf(AlarmType.class, value);
	}
}
